chore: apply cargo fmt across application and domain layers#30
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Applies cargo fmt-style formatting updates across the application and domain layers to standardize code layout and remove trailing whitespace, without changing behavior.
Changes:
- Reformats test code (struct literals, function calls, and imports) to rustfmt conventions.
- Removes stray trailing whitespace/blank lines at file ends.
- Wraps long type/trait paths and function calls for consistent readability.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/domain/ports/mapper.rs |
Removes trailing whitespace at EOF after rustfmt. |
src/application/services/create_medication_service.rs |
Import ordering and EOF whitespace cleanup. |
src/application/services/update_medication_service.rs |
Reformats test request construction and removes trailing whitespace. |
src/application/services/settings_service.rs |
Reformats test repository trait impl, request literals, and trims trailing spaces. |
src/application/services/schedule_dose_service.rs |
Reformats test imports and call sites to standard rustfmt layout. |
src/application/services/mark_dose_taken_service.rs |
Reformats test struct literals and constructor calls. |
src/application/services/list_dose_records_service.rs |
Reformats test request literals and datetime calls. |
src/application/services/get_medication_service.rs |
Reformats test imports and request literals. |
src/application/services/delete_medication_service.rs |
Reformats test request literal. |
src/application/mappers/update_medication_mapper.rs |
Reformats a long test request constructor call and EOF whitespace. |
src/application/mappers/medication_try_from.rs |
Reformats matches! assertions for multi-line readability. |
src/application/mappers/create_medication_mapper.rs |
Removes trailing whitespace at EOF after rustfmt. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.